package de.akad.imp03.client.service;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import de.akad.imp03.shared.PersonObjectify;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("dao")
public interface DaoService extends RemoteService {
	PersonObjectify loadPerson(Long id);
	Long savePerson(PersonObjectify p);
	Boolean deletePerson(PersonObjectify p);
	List<PersonObjectify> findAllPersons();
}
